package com.qmyx.supply.admin.controller;

import com.ytjj.qmyx.supplychain.common.api.CommonResult;
import com.ytjj.qmyx.supplychain.service.ProductBrandService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 
 * 
 * @Version: 1.0
 */
@RestController
@RequestMapping("/productBrand")
public class ProductBrandController {

	@Resource
	private ProductBrandService productBrandService;

	@GetMapping("/list")
	public CommonResult getProductBrandList() {
		return CommonResult.success(productBrandService.getProductBrandList());
	}
}
